export  const rules = {
  //编写规则\prettier\eslint-plugin-prettier
  account: [
    { required: true, message: "账号不能为空", trigger: "blur" },
    {
      // pattern: /a-z[0-9]{5,11})/,
      message: "账号格式不正确",
      trigger: "blur",
    },
  ],
  password: [
    { required: true, message: "密码不能为空", trigger: "blur" },
    {
      pattern: /^[a-z0-9]{5,10}$/,
      message: "密码为5-10位数字或字母",
      trigger: "blur",
    },
  ],
};
